// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/styles/reset.css'// CSS初始化文件
import './assets/styles/border.css'// 解决移动端1PX边框被放大问题
// 引入FastClick包解决click事件300ms延迟问题
import FastClick from 'fastclick'
import './assets/styles/iconfont.css'// 字体图标
import VueAwesomeSwiper from 'vue-awesome-swiper'// 轮播图
// require('swiper/dist/css/swiper.css')
import '../node_modules/swiper/dist/css/swiper.css'// 录播图样式
import store from './store/index'// vuex仓库

Vue.use(VueAwesomeSwiper)

Vue.config.productionTip = false

FastClick.attach(document.body)// 将FastClick注册进页面

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
